.report-center {
  padding: 20px;
  min-height: calc(100vh - 140px);
  background: #f0f2f5;
}

/* 统计卡片样式 */
.stat-card {
  text-align: center;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stat-content {
  padding: 8px 0;
}

.stat-value {
  font-size: 24px;
  font-weight: bold;
  color: #1890ff;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  color: #666;
}

/* 表格样式优化 */
.ant-table-thead > tr > th {
  background: #fafafa;
  font-weight: 600;
}

.ant-table-tbody > tr:hover > td {
  background: #f5f5f5;
}

/* 报告内容样式 */
.report-content {
  max-height: 70vh;
  overflow-y: auto;
  padding: 16px;
  background: #fafafa;
  border-radius: 6px;
}

/* Markdown 样式 */
.report-content h1,
.report-content h2,
.report-content h3,
.report-content h4,
.report-content h5,
.report-content h6 {
  margin: 16px 0 8px 0;
  font-weight: 600;
  line-height: 1.25;
}

.report-content h1 {
  font-size: 1.8em;
  border-bottom: 2px solid #eaecef;
  padding-bottom: 8px;
  color: #1890ff;
}

.report-content h2 {
  font-size: 1.5em;
  border-bottom: 1px solid #eaecef;
  padding-bottom: 6px;
  color: #262626;
}

.report-content h3 {
  font-size: 1.3em;
  color: #262626;
}

.report-content p {
  margin: 8px 0;
  line-height: 1.6;
  color: #595959;
}

.report-content ul,
.report-content ol {
  margin: 8px 0;
  padding-left: 20px;
}

.report-content li {
  margin: 4px 0;
  line-height: 1.5;
}

.report-content blockquote {
  margin: 16px 0;
  padding: 8px 16px;
  border-left: 4px solid #1890ff;
  background-color: #f6f8fa;
  color: #6a737d;
}

.report-content code.inline-code {
  background-color: rgba(27, 31, 35, 0.05);
  border-radius: 3px;
  font-size: 85%;
  margin: 0;
  padding: 0.2em 0.4em;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

.report-content pre {
  background-color: #f6f8fa;
  border-radius: 6px;
  font-size: 85%;
  line-height: 1.45;
  overflow: auto;
  padding: 16px;
  margin: 16px 0;
}

.report-content pre code {
  background-color: transparent;
  border: 0;
  display: inline;
  line-height: inherit;
  margin: 0;
  max-width: auto;
  overflow: visible;
  padding: 0;
  word-wrap: normal;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

.report-content .markdown-table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  margin: 16px 0;
  background: white;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.report-content .markdown-table th,
.report-content .markdown-table td {
  border: 1px solid #dfe2e5;
  padding: 12px 16px;
  text-align: left;
}

.report-content .markdown-table th {
  background-color: #1890ff;
  color: white;
  font-weight: 600;
}

.report-content .markdown-table tr:nth-child(2n) {
  background-color: #f6f8fa;
}

.report-content a {
  color: #1890ff;
  text-decoration: none;
}

.report-content a:hover {
  text-decoration: underline;
}

.report-content hr {
  border: none;
  border-top: 1px solid #eaecef;
  margin: 24px 0;
}

.report-content strong {
  font-weight: 600;
  color: #262626;
}

.report-content em {
  font-style: italic;
}

/* 滚动条样式 */
.report-content::-webkit-scrollbar {
  width: 6px;
}

.report-content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.report-content::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.report-content::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* 按钮样式优化 */
.ant-btn {
  border-radius: 6px;
  transition: all 0.3s ease;
}

.ant-btn:hover {
  transform: translateY(-1px);
}

/* 标签样式 */
.ant-tag {
  border-radius: 12px;
  font-size: 11px;
  padding: 2px 8px;
}

/* 模态框样式 */
.ant-modal-header {
  border-radius: 8px 8px 0 0;
}

.ant-modal-content {
  border-radius: 8px;
}

/* 表格操作按钮组 */
.ant-space-item .ant-btn {
  margin-right: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .report-center {
    padding: 12px;
  }
  
  .stat-value {
    font-size: 20px;
  }
  
  .ant-modal {
    margin: 0;
    max-width: 100vw;
  }
  
  .report-content {
    max-height: 60vh;
  }
}

/* 动画效果 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ant-table-tbody > tr {
  animation: fadeIn 0.3s ease-in;
}

/* 空状态样式 */
.ant-empty {
  margin: 40px 0;
}

/* 加载状态 */
.ant-spin-container {
  min-height: 200px;
}

/* 文件大小显示 */
.file-size {
  color: #8c8c8c;
  font-size: 12px;
} 